package systole.view.imageFlow;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;

public class ImageFlowItem {

    private BufferedImage image = null;
    private String label;

    public ImageFlowItem(BufferedImage image, String label) {
        Graphics g = image.createGraphics();
        g.drawImage(image,0,0,null);
        g.dispose();
        this.image = image;
        this.label = label;
    }

    public Image getImage() {
        return image;
    }

    public String getLabel() {
        return label;
    }
}
